package com.cyzy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyzy.dto.R;
import com.cyzy.vo.Questions;

public interface QuestionsService extends IService<Questions> {

    R getQuestionList(int userId,int examLibraryId,int currPage,int pageSize);

    R getQuestionListByRandom(int userId, int examLibraryId,int currPage,int pageSize);

    R getQuestionListByType(int userId, int examLibraryId,int questionType, int currPage,int pageSize);

    R getQuestionData(int examLibraryId);

    R getQuestionListByExam(int examLibraryId);

    R getQuestionListByMistake(int userId,int examLibraryId);

    R getQuestionListByFavorite(int userId,int examLibraryId);

}
